import Vue from "vue"
import Vuex from "vuex"
Vue.use(Vuex)


import {state,mutations,getters} from "./mutations.js"
import { actions } from "./actions.js"
import home from "./modules/home.js"
import oindex from "./modules/oindex.js"
import sort from "./modules/sort.js"
// import tureorder from "./modules/tureorder.js"



 const store = new Vuex.Store({
    state,
    mutations,
    getters,
    actions,
    modules:{
        home,
        oindex,
        sort,
        // tureorder
    }
})

export default store